package org.jrpc.base;

import org.jrpc.common.baen.RpcRequest;

/**
 * Created by chenyuncong on 2019/4/24.
 */
public interface IClientManage {
    //put方法。用来发送请求
    ResultResponse put(String serviceName,RpcRequest request);

    //添加客户端
    void addClient(ServiceInfo serviceInfo,IClient client);

    //删除客户端
    void delClient(ServiceInfo serviceInfo);

    //客户端上线
    void clientUP(ServiceInfo serviceInfo);

    //客户端下线
    void clientDOWN(ServiceInfo serviceInfo);


}
